Update examples.cpp