code: public static base_response update(nitro_service client, forwardingsession resource) throws Exception {
  		forwardingsession updateresource = new forwardingsession();
  		updateresource.name = resource.name;
  		updateresource.connfailover = resource.connfailover;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update forwardingsession.