Fix update ip in networkdiscovery