the local ip is now also checked and updated