update assocations of students to teachers through the lessons association