updating URLs for links