Updated py client