cleanup update rules