Fix many-to-many update