important correction in checking for updates