update routes to include pairs