update routing with old and new prefixes