update to work with newest version of requests module