updated examples according to a new version