Use the same PDF generation page after creation or update of a prep and chain creation or insertion then generation with header()