Issue with update-config

I set up a VM using HyperVisor and installed CommCare as a monolith then transferred the drive image to another system with a different LAN configuration. After editing the config files to reflect the new IP and running an update-config I was unable to get services up. After a bit of digging, I noticed the following files still reference the old IP:

/etc/kakfa/config/server.properties
/home/cchq/www/monolith/services/monolith_supervisor_celery_workers.conf
/etc/hosts
/etc/haproxy

the /etc/hosts file had two lines and referenced both old and new IP addresses against the server domain name.