Update doc generation script