update ruleset