a commit to the db