add field to manage document type