Update seq.cpp