Adding error message for edit ajax failure