public function update($key, $data) { if (!empty($data)) { update_site_option($key, $data); } return $this; }