update doc generation