fix belongstomany syncing