updates route cache