Do all the usual checks.
Fault code scan
Plugs
Coils
Long term fuel trims
Chain wear correlation (cam sensor position, usually block 93)
PCV
Boost leaks
High and low fuel pressure checks
VVT function
etc
I had exactly the same problem with my ED30. In my case it was too much boost, too soon. My fault, I did ask for a very aggressive map
It was great on the day of the mapping, but over the following days that surging you describe started to kick in and got progressively worse. The ECU adapted to the changes - in a bad way. It didn't understand the massive load request and pulled it back somewhat aggressively.
It's all fine with a new map now.
Don't know if you have the same issue or not, but perform the hardware checks first. If they all check out fine, it can only be the recent software change.