Partialy implement upgradeShip function