committing db changes