update link functions