The main question here is how you want the price and subscription duration is calculated when users upgrade? Without a clear requirement, I don't know how to answer your question.
Normally, when someone upgrade their subscription from plan A to plan B:
1. Subscription for plan A will be marked as expired
2. Then a new subscription record for plan B will be created. The from date of the subscription is the date users perform upgrade, and end date is calculated base on from date and subscription length of the upgraded plan. The price for upgrade is base on the price you setup in the upgrade option
However, that basic rule can also be changed base on Prorated setting of upgrade options as described here
membershipprodoc.joomservices.com/basic-...ated-upgrade-options
Hope it gives you some clues.
Regards,
Tuan