update order and detail order