error messages displaying for failed edits