Update respond and warn actions with pattern replacement.