update swig wrappers