examples updated to latest versions