python client update