Update set example to use new syntax