public String doUpdate() throws Exception {
    if (isTesting()) {
      testConnection();
      return "input";
    }

    serverConfigManager.updateServerConfiguration(
        new ServerConfig(getServerId(), getUrl(), getUsername(), getPassword(), getTimeout()));
    return "success";
  }