update misc snippets