update pagination template
enable access control