update sequence script