InfluxDB 2.x- how to enable UDP?

Hi,

I want to use my ESP32 and send some data to InfluxDB 2.X on HomeAssistant.
I tried to follow this tutorial:

https://www.influxdata.com/blog/how-to-send-sensor-data-to-influxdb-from-an-arduino-uno/

In the middle of this tutorial it says:

Enabling UDP on InfluxDB

I need to add following code to the configuration of influxdb:

[[udp]]
enabled = true
bind-address = “:8888”
database = “mydatabase”

I tried to add it in the hassio configuration section of InfluxDB using the 3 dots on the upper right and then ‘Edit in YAML’

But if I save it and restart influxdb the settings inside the configuration disappeared again.

How please do I enabe UDP the right way?