Update .cpp file