set type of documents