Changing addon configuration in hassio_supervisor container /data/addons.json

‘Hello, I am trying to automate the installation of one of my addon. Deconz.’
I have an script that get the device info and put it on the /data/addons.json file on the hassio_supervisor container but when I try to start the addon it says that the information is missing and on the web interface is on default settings. Do I have to reload anything so it will get the information from /data/addons.json to start the addon?

I found the solution.
Used home assistant API
in case of deconz
:8123/api/hassio/addons/core_deconz/options
Thanks