Pedigree update modified to return the list of pedigrees.