updated teacher-course view model