Check for internet before updating