ruleJS update