Validator of update