Add-on config migration

Hi, I am working on a community add-on and would like to change the name of a config entry without it being a breaking change.

The add-on currently defines:

device={device_address}

but I would like to change this to:

usb_device={device_address}

Is there a way to edit the config at run time so that the users existing config is migrated to the new config at run time rather than this being a breaking change and everyone having to edit their config? Something like:

sed 's/device=/usb_device=/g'

I have checked bashio and there are lots of functions to read and verify config but I cannot a function that allows you to write to the config