Updating for JNIChaosCWrapper