update link structure