changed update order