updating JNI interface to dmscanlib