change params attach method to fit new version of requests