update error messages to new M5 nomenclature