Put data in database; create new database