changing HABTM to HMT