Upgrade only during any player's end step (instead of during your management phase). All ships that went to your scrapheap from play this turn are returned back to your hand.