updated the python bindings