change manyTomany in two onetomany