Update examples snippet.