Updates the IP