update doc generator