added class diagram for template class