regenerating pdoc