examples updated to new version