one to many merge