Update Example Code

example new method