update link path to use full url instead of relative path