formatting
fix update order bug