update to c++