updating index for router and firewall