Update cpp_template