Add complete code for mass edits.