update c/c++ snippets