Update example to poke at the correct variable

Makes the example actually work