Update code example in README.