add extra check for updating yum cache