code: public Evse updateEvse(Long chargingStationTypeId, Evse evse) {
          ChargingStationType chargingStationType = chargingStationTypeRepository.findOne(chargingStationTypeId);
  
          Evse existingEvse = getEvseById(chargingStationType, evse.getId());
  
          chargingStationType.getEvses().remove(existingEvse);
          chargingStationType.getEvses().add(evse);
  
          ChargingStationType updatedChargingStationType = chargingStationTypeRepository.createOrUpdate(chargingStationType);
  
          return getEvseById(updatedChargingStationType, evse.getId());
      }
docs: Update an evse.
  
  @param evse evse object to update.
  @return updated evse.