fixed issue with checking for updates