Updating the IP address for connection purposes