Fix many-to-one reference update

Yeah. It should be. I'll give it a try.