update to pdf generation