examples: update to use the new codebase