update attribute order