update database creation script