change work order status from open to closed

How to Update Work Order Status