update and snippets