update a few snippets