update link class