Did you try looking into godot docs for reference to the specific things that you need?
https://docs.godotengine.org/en/stable/index.html
I searched, but I didn't find how about you, how did you add the upgrades system