Updating pagination links