edit the status of a purchase order