update order method