document type moved to document relation