public function update(array $data) { $update = array('$set' => $data); return $this->performUpdate($update); }