update method name in examples