update script create database