function update()
    {
        global $ilDB;
        parent::update();
        if ($this->getMasteryScore() == NULL) {
            $this->setMasteryScore(0);
        }
        $ilDB->manipulateF('
			UPDATE aicc_units 
			SET c_type = %s,
				command_line = %s,
				max_time_allowed = %s,
				time_limit_action = %s,
				max_score = %s,
				core_vendor = %s,
				system_vendor = %s,
				file_name = %s,
				mastery_score = %s,
				web_launch = %s,
				au_password = %s		
			WHERE obj_id = %s', array('text', 'text', 'time', 'text', 'float', 'text', 'text', 'text', 'integer', 'text', 'text', 'integer'), array($this->getAUType(), $this->getCommand_line(), $this->getMaxTimeAllowed(), $this->getTimeLimitAction(), $this->getMaxScore(), $this->getCoreVendor(), $this->getSystemVendor(), $this->getFilename(), $this->getMasteryScore(), $this->getWebLaunch(), $this->getAUPassword(), $this->getId()));
    }
 function update()
 {
     global $ilDB;
     parent::update();
     $ilDB->update('aicc_course', array('course_creator' => array('text', $this->getCourseCreator()), 'course_id' => array('text', $this->getCourseId()), 'course_system' => array('text', $this->getCourseSystem()), 'course_title' => array('text', $this->getCourseTitle()), 'c_level' => array('text', $this->getLevel()), 'max_fields_cst' => array('integer', $this->getMaxFieldsCst()), 'max_fields_ort' => array('integer', $this->getMaxFieldsOrt()), 'total_aus' => array('integer', $this->getTotalAUs()), 'total_blocks' => array('integer', $this->getTotalBlocks()), 'total_complex_obj' => array('integer', $this->getTotalComplexObj()), 'total_objectives' => array('integer', $this->getTotalObjectives()), 'version' => array('text', $this->getVersion()), 'max_normal' => array('integer', $this->getMaxNormal()), 'description' => array('clob', $this->getDescription())), array('obj_id' => array('integer', $this->getId())));
 }