added automatically create database document