change content of generated PDF