update the order after updating the shipment to make sure the order is marked shipped as well when the shipment is shipped.