Updating code to tableview functions in syllabus classes.