Update examples to conform with latest language changes
Update for latest language changes