public function updateTemplate(Template $template) { $command = $this->getCommand('UpdateTemplate', array('templateId' => $template->getId(), 'template' => array('name' => $template->getName(), 'body' => $template->getBody()))); return $this->execute($command); }