Update for many-to-many (SubjectClass) added