Change the document format and update