Update ShipFunction.cs