updated template class if link is active