update router mapping