Add function to update retried request configs

I've added a function to update configs of retried requests, similar to #31 but a little nicer in that it won't break backwards compatability or break if the function isn't specified.