Update example to new syntax.