update link state