update readme and snippets