update the validation message