          (.mostRecentVersion remote-vs))))
 
 (defn use-cache-or-update
-  ([domain domains-info global-config local-config open-if-no-update ^DownloadState state]
+  ([domain domains-info global-config local-config update? ^DownloadState state]
      (let [fs (filesystem (:hdfs-conf local-config))
            lfs (local-filesystem)
            local-dir (:local-dir local-config)

                          domains-info
                          global-config
                          local-config
                          true
                          (mk-loader-state { domain
                                            (domain/host-shards (domains-info domain)) }))))


         (do
           ;; signal all shards of domain are done loading
           (swap! (:finished-loaders state) + (count ((:shard-states state) domain)))
           (if update?
             :no-update
             (open-domain local-config
                          (str (path local-dir domain))
                          (domain/host-shards (domains-info domain))))))))
