Edit fix

Edits work properly, and error message handling for it is good.