update document types