original_string: public function update($id, $params = array()) {
          $this->checkPermissions('update');
          
          return $this->client->updateData($this->resourceName . '/' . $id, $params);
      }
code: public function update($id, $params = array()) {
          $this->checkPermissions('update');
          
          return $this->client->updateData($this->resourceName . '/' . $id, $params);
      }
code_tokens: public function update ( $ id , $ params = array ( ) ) { $ this -> checkPermissions ( 'update' ) ; return $ this -> client -> updateData ( $ this -> resourceName . '/' . $ id , $ params ) ; }
docstring: Update model object
  
  @param mixed $id Object id
  @param array $params Object parameters
  @return array
docstring_tokens: Update model object