Update examples for new interface