update Course View Model
Creates a new ExercisesTreeViewModel with the given exercise groups, which is then set to MainViewModel.exercisesViewModel.
Creates a new ExercisesTreeViewModel with the given exercise groups, which is then set to MainViewModel.exercisesViewModel.