insert into db all types doc