update the validations