update the urls for the links