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;
    }
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;
    }
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 ; }
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
Replace the content of a user template NOT campaign content .