update link generator