updated pedigreemm routine