update class order