updating python binding