code: public OperationFuture<LoadBalancer> update(LoadBalancer loadBalancer, LoadBalancerConfig config) {
          LoadBalancerMetadata loadBalancerMetadata = findByRef(loadBalancer);
  
          loadBalancerClient.update(
              loadBalancerMetadata.getDataCenterId(),
              loadBalancerMetadata.getId(),
              new LoadBalancerRequest()
                  .name(config.getName())
                  .description(config.getDescription())
                  .status(config.getStatus())
          );
  
          return new OperationFuture<>(
              loadBalancer,
              updateLoadBalancerPools(
                  config,
                  LoadBalancer.refById(
                      loadBalancerMetadata.getId(),
                      DataCenter.refById(loadBalancerMetadata.getDataCenterId())
                  )
              )
          );
      }
docs: Update load balancer
  
  @param loadBalancer load balancer
  @param config load balancer config
  @return OperationFuture wrapper for load balancer