Implemented in-place edit.