adding inplace edits