Updates to the document and document type