added topic tracking to history_esercizi table