update validation input