add m-n relations