update error message for filter