adding commit for db?