Updates add createDatabase functions