Upon filing the new undertaking, stipulation, or bond, and the approval of it as to form, penalty, and surety, the former undertaking, stipulation, or bond, and the surety on it is immediately discharged from all liability in any manner or at any time arising or accruing.
AS 45.70.020