Update c snippets