update doc content and pagination