Updated python client