Pdf generate changed