update router rules