updated creat PDF header