updates to doc generation