update docs as request.defaults api is removed