How to change a template of integration stream?

Hi there.

I use custom UDP integration. And it creates a datastream with seemingly hardcoded default "logs" template. Creating another one with a higher priority doesn't help. How the heck do I change it?

Creating a higher priority template does not help. On simulation, backing index does use newer template, but actual stream does not.