update text-validate