fixed upgrade method in shipyard