Update document-history