Updates the list of IPs used.