python bindings updated