update swig files for java callback