Updating document types