commit on edit