added doc for database