Updated update doc script.