include update class in rules