update link way logic