updated Examples to run with moved APIs