upgrade requests version and API