updating links and routes