code: func restUpdateAddressable(w http.ResponseWriter, r *http.Request) {
  	defer r.Body.Close()
  	var ra models.Addressable
  	if err := json.NewDecoder(r.Body).Decode(&ra); err != nil {
  		LoggingClient.Error(err.Error())
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		return
  	}
  
  	if err := updateAddressable(ra); err != nil {
  		switch err.(type) {
  		case *types.ErrAddressableNotFound:
  			http.Error(w, err.Error(), http.StatusNotFound)
  		case *types.ErrAddressableInUse:
  			http.Error(w, err.Error(), http.StatusConflict)
  		default:
  			http.Error(w, err.Error(), http.StatusInternalServerError)
  		}
  		LoggingClient.Error(err.Error())
  		return
  	}
  
  	w.Header().Set("Content-Type", "application/json")
  	w.WriteHeader(http.StatusOK)
  	if _, err := w.Write([]byte("true")); err != nil {
  		LoggingClient.Error(err.Error())
  		return
  	}
  }
docs: // Update addressable by ID or name (ID used first)
  // 404 Not found if no addressable is found to update