adding ability to customize error message in validator updating dynamic validator