Updates for new version of requests