update docx and pdf format