Whether my marriage Is eligible or not for get legal heir kindly gave your suggestion?

I am hindu. I am already got divorce on 2003. Due to my own sister got fire accident in kitchen in 1993. So After sometime due to injury she can’t able to do her own work and caring her children. Due to that she is bed for 13 years and death on 2009. Eventhough I gave my support to her family and my sister, After I got divorce on 2003 my sister due to her inability illness she request me to marry her husband as second wife. For that she had taken undertaking deed for acceptance my second marriage and signed infront of notary lawyer. And also both myself and her sister husband had undertaking deed for marriage acceptance we had got register the marriage in temple. Infront of family member & relation. And I Continue my support to my sister family and she expired on 2009. After that I take care of the sister children and my husband Now my husband expired on [deleted] due to respirator issue After this issue I apply for legal heir certificate but they not accept my marriage All Government document aadhar. pan. voterid everything my name as her wife Eventhough in death certificate wife name only my name is coming So what is the procedure for getting the legal heir certificate to include my name on it. Whether my marriage Is eligible or not for get legal heir kindly gave your suggestion