code: private void setupStormCode(String topologyId, String tmpJarLocation,
                                  Map<Object, Object> stormConf, StormTopology topology, boolean update)
              throws Exception {
          String codeKey = StormConfig.master_stormcode_key(topologyId);
          String confKey = StormConfig.master_stormconf_key(topologyId);
          String codeKeyBak = StormConfig.master_stormcode_bak_key(topologyId);
  
          // in local mode there is no jar
          if (tmpJarLocation != null) {
              setupJar(tmpJarLocation, topologyId, update);
          }
  
          if (update) {
              backupBlob(codeKey, codeKeyBak, topologyId);
          }
          createOrUpdateBlob(confKey, Utils.serialize(stormConf), update, topologyId);
          createOrUpdateBlob(codeKey, Utils.serialize(topology), update, topologyId);
      }
docs: create local topology files in blobstore and sync metadata to zk