make sure we have internet before we try and update