modify and commit