Update SequenceManager.js