updated database and the db initializing  script