updata jni & use jni as default