update JNI