update link pointer