modify sequence