jni function change