Pull Request Dev_1.0

You may use the $db->update function po
```
$params = array(
    'title' => $this->title
);

$where = array(
    'id' => $this->id
);

$db->update('thread', $params, $where);
```