update some rules