break the edits into multiple ones to avoid conflicts