update pagination class