add create database method