update doc manager