could not get HABTM to work with update and edit functions, resorted to removing HABTM and making students belong to 1 lecture and lectures have many students.

did not get to spells other than mapping out a diagram