updating python samples