updating links for routing