bring examples up to date with api changes