updated dependencies
converted to snippets