PDF creation update