update sequence to changes