commit for db changes