code: protected void updateStoryInformation(FeatureCollector collector) {
          long storyDataStart = System.currentTimeMillis();
          AtomicLong count = new AtomicLong();
  
          if (Objects.equals(collector.getMode(), JiraMode.Team)) {
              List<Scope> projects = new ArrayList<>(getScopeList(collector.getId()));
              projects.forEach(project -> {
                  LOGGER.info("Collecting " + count.incrementAndGet() + " of " + projects.size() + " projects.");
  
                  long lastCollection = System.currentTimeMillis();
                  FeatureEpicResult featureEpicResult = jiraClient.getIssues(project);
                  List<Feature> features = featureEpicResult.getFeatureList();
                  saveFeatures(features, collector);
                  updateFeaturesWithLatestEpics(featureEpicResult.getEpicList(), collector);
                  log("Story Data Collected since " + LocalDateTime.ofInstant(Instant.ofEpochMilli(project.getLastCollected()), ZoneId.systemDefault()), storyDataStart, features.size());
  
                  project.setLastCollected(lastCollection); //set it after everything is successfully done
                  projectRepository.save(project);
  
              });
          } else {
              List<Team> boards = getBoardList(collector.getId());
              boards.forEach(board -> {
                  LOGGER.info("Collecting " + count.incrementAndGet() + " of " + boards.size() + " boards.");
                  long lastCollection = System.currentTimeMillis();
                  FeatureEpicResult featureEpicResult = jiraClient.getIssues(board);
                  List<Feature> features = featureEpicResult.getFeatureList();
                  saveFeatures(features, collector);
                  updateFeaturesWithLatestEpics(featureEpicResult.getEpicList(), collector);
                  log("Story Data Collected since " + LocalDateTime.ofInstant(Instant.ofEpochMilli(board.getLastCollected()), ZoneId.systemDefault()), storyDataStart, features.size());
  
                  board.setLastCollected(lastCollection); //set it after everything is successfully done
                  teamRepository.save(board);
                  FeatureBoard featureBoard = featureBoardRepository.findFeatureBoard(collector.getId(), board.getTeamId());
                  if(featureBoard != null){
                       featureBoard.setLastUpdated(System.currentTimeMillis());
                       featureBoardRepository.save(featureBoard);
                  }
              });
          }
  
      }
docs: Update story/feature information for all the projects one at a time
  
  @param collector