Editing is 100% lawful procedure. Professional editors simply provide feedback about essays. Necessary corrections accompany this feedback. No violations appear while editing essays. The same thing is with proofreading. Both are 100% allowed.