Update example to use new vars syntax