fix(example): change to new simplified API