update readme for generating snippets