updated the database and the creation script