original_string: public function update( $options = array()) {
          $payload = array(
              'template_id' => $this->templateId,
              'values' => $options
          );
          $apiCall = 'templates/update';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data,true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return true;
      }
code: public function update( $options = array()) {
          $payload = array(
              'template_id' => $this->templateId,
              'values' => $options
          );
          $apiCall = 'templates/update';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data,true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return true;
      }
code_tokens: public function update ( $ options = array ( ) ) { $ payload = array ( 'template_id' => $ this -> templateId , 'values' => $ options ) ; $ apiCall = 'templates/update' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return true ; }
docstring: Replace the content of a user template, NOT campaign content.
  
  @link http://apidocs.mailchimp.com/api/2.0/templates/update.php
  @param array $options the values to updates - while both are optional, at least one should be provided. Both can be updated at the same time.
  @return boolean true on success
  @throws MailchimpAPIException
docstring_tokens: Replace the content of a user template NOT campaign content .