edit redirect and date pdf format