Update foo.cpp