public function updateRouter($routerId, $options)
{
$result = null;
$response = $this->getClient()->call($this->service, sprintf('/routers/%s', $this->escape($routerId)), array('_putData' => json_encode(array('router' => $options))), 'PUT');
if ($response->hasError() === false) {
$result = json_decode($response->getContent());
$result = $result->router;
}
return $result;
}