Updated example to lastest cppcomponent changes