update pagination and comment