pagination class updates