def update(self, key, isselected):
        logger.debug("Begin generating plots")
        if not isselected:
            try:
                self.colorList.append(self._seriesInfos[key].color)
                del self._seriesInfos[key]
            except __HOLE__:
                self.resetDates()
        else:
            #results = self.taskserver.getCompletedTasks()
            #self.memDB.setConnection(results["InitEditValues"])


            self._seriesInfos[key] = self.getSeriesInfo(key)
            self.getUpdatedData(key)
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/controller/logicPlotOptions.py/SeriesPlotInfo.update