public function update($iId, $aData)
    {
        $aTagData = array();

        // --------------------------------------------------------------------------

        //  Some basic sanity testing
        if (empty($aData['label'])) {

            $this->setError('"label" is a required field.');
            return false;

        } else {

            $aTagData['label'] = trim($aData['label']);
        }

        // --------------------------------------------------------------------------

        $aTagData['slug'] = $this->generateSlug($aData['label'], $iId);

        if (isset($aData['description'])) {

            $aTagData['description'] = $aData['description'];
        }

        if (isset($aData['seo_title'])) {

            $aTagData['seo_title'] = strip_tags($aData['seo_title']);
        }

        if (isset($aData['seo_description'])) {

            $aTagData['seo_description'] = strip_tags($aData['seo_description']);
        }

        if (isset($aData['seo_keywords'])) {

            $aTagData['seo_keywords'] = strip_tags($aData['seo_keywords']);
        }

        return parent::update($iId, $aTagData);
    }