fix count of available updates