adding document types table