Update example.cpp