Added context to update the status of an order