- updated the item generation for pdfs