rename a jni method