Update example to use new-style metadata