update URLs of external links