change all the links and routes