update blocks_swig