If, after a will has been admitted to probate, a later instrument in writing purporting to be the last will or codicil shall be presented, proceedings shall be had for the probate thereof, but notice of the hearing thereof shall be given to the devisees and legatees named in the will admitted to probate in addition to the heirs, and the devisees and legatees named in the will or codicil presented for probate. If the court admits the later will or codicil to probate, the order so admitting such will or codicil shall operate as a revocation of the order admitting the earlier will to probate so far as is necessary to give effect to the later will or codicil.
K.S.A. 59-2226