rename a method name