update routes to be links-centric