/**
  * Update data
  */
 public function doUpdate()
 {
     /**
      * @var $ilDB ilDB
      */
     global $ilDB;
     $session = $this->xmlApi->getBreezeSession();
     if ($session != NULL && $this->xmlApi->login($this->adminLogin, $this->adminPass, $session)) {
         $end_date = new ilDateTime($this->start_date->getUnixTime() + $this->duration["hours"] * 3600 + $this->duration["minutes"] * 60, IL_CAL_UNIX);
         $this->xmlApi->updateMeeting($this->sco_id, $this->getTitle(), $this->getDescription(), date('Y-m-d', $this->start_date->getUnixTime()), date('H:i', $this->start_date->getUnixTime()), date('Y-m-d', $end_date->getUnixTime()), date('H:i', $end_date->getUnixTime()), $session);
         $this->xmlApi->updatePermission($this->sco_id, $session, $this->permission);
     }
     $ilDB->update('rep_robj_xavc_data', array('start_date' => array('integer', $this->getStartdate()->getUnixTime()), 'end_date' => array('integer', $this->getEnddate()->getUnixTime()), 'instructions' => array('text', $this->getInstructions()), 'contact_info' => array('text', $this->getContactInfo()), 'permanent_room' => array('integer', $this->getPermanentRoom()), 'perm_read_contents' => array('integer', $this->getReadContents()), 'perm_read_records' => array('integer', $this->getReadRecords())), array('sco_id' => array('integer', $this->getScoId())));
 }