Updating link to be a local link.