updates column ordering