upload snippets