Shipyard: capped the number of upgrades