committing working db