update plus add a few new c/c++ snippets