Adds method to update an order