Update thew.cpp