Modify sequence.