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