update doc script