update rules example