update order model