fixing an issue with the detection of the latest updates