Update quick.cpp