Update ImproperlyConfigured message according to validation logic