Rolling with the punches (8)
I believe the answer is:
adapting
(Other definitions for adapting that I've seen before include "Changing to suit a new purpose" , "Altering to fit another purpose" , "Adjusting to suit a new use" , "Changing to fit new circumstances" .)