update document format