update text with jni comments