update control and rules files