Updated create database file