committing the db for the first time