update python client