update SCOPE for python client