Updated README code snippets