updates for error messages