update samples/snippets