update validation rule