update routing table on api update