chnaged the way itrems are added to relating sets, made it transaction save