update order bug fix