update C++11 examples