The Mercy of Reconciliation: Forgiving error to achieve peace.
If a person changes the will to correct an error or mistake to achieve reconciliation between the beneficiaries, they incur no sin. Prioritize peace. The spiritual goal is always unity. If you can mediate or correct a potential source of conflict (like a legal dispute) in a family after death, your effort toward reconciliation is righteous.