Modify sequence to be array; updateSequence method