jni work

minor updates