I am extracting portin of mask and applying blur filter on it but I dont know how to again paste that portion of mask on the original mask.Please help

I am extracting portin of mask and applying blur filter on it but I dont know how to again paste that portion of mask on the original mask.Please help.

please show code / images :wink: