update for newer version of python-requests