/**
  * @since 2.5
  *
  * @param integer $sid
  * @param integer $pid
  * @param string $text
  */
 public function update($sid, $pid, $text)
 {
     if (trim($text) === '') {
         return $this->delete($sid, $pid);
     }
     $this->connection->update($this->searchTable->getTableName(), array('o_text' => $this->textSanitizer->sanitize($text), 'o_sort' => mb_substr($text, 0, 32)), array('s_id' => (int) $sid, 'p_id' => (int) $pid), __METHOD__);
 }