update database creation