public function updateWidgetMap($widgetMap)
    {
        //parse all widfgetMaps
        foreach ($this->widgetMaps as $key => $_widgetMap) {
            //if this the widgetMap we are looking for
            if ($_widgetMap->getWidgetId() === $widgetMap->getWidgetId()) {
                $this->widgetMaps[$key] = $widgetMap;
                //there no need to continue, we found the slot
                break;
            }
        }

        return $this;
    }