Say your Unit has a plasma culverin (27 pts) by default. You have the option to upgrade to a heavy grav cannon (30 pts). ... ( the destroyers:

,

)
If you want to upgrade to the heavy grav cannon do you pay the marginal cost of 3 pts to upgrade or do you pay 30 pts?