Update example in README to match code changes