edit parent node when commit