Update for swig