fix a minor bug with detection if updates happened