update doc with pagination