Update improper var names in example