` if * the update fails. */ public function update($params, $value = null) { if (!is_array($params)) { $params = array($params => $value); } $decamelizedParams = $this->client->createData($this->uri, $params, true); $this->updateAttributes($decamelizedParams); } }