Update doc generator script