update pagination links