Shipyard- upgrade method bug fixed.