How to change ip address in modbus tcp read node using a config file

Hi clever people

I know this topic has been addressed but not finding any clarity on the net,, I have a project going that has upto 5 modbus tcp devices connected. however their ip addresses could vary . all within same range eg 192.168.0.xxx. currently all 5 devices connect and work well. each device can set its own ip on its own interface based on avail ip's . is there any way to change the read node ip address "dynamically" like using a web page on the pi . TIA to all the node red Ninjas out there