Is there a way to upgrade?

Yes, you can upgrade or downgrade your resources anytime.