update sequence for document migration