update swig bindings