public CommandProcessingResult update(Long interestRateChartId, JsonCommand command) {
this.interestRateChartDataValidator.validateUpdate(command.json());
final Map<String, Object> changes = new LinkedHashMap<>(20);
final InterestRateChart interestRateChart = this.interestRateChartAssembler.assembleFrom(interestRateChartId);
interestRateChart.update(command, changes);
this.interestRateChartRepository.saveAndFlush(interestRateChart);
return new CommandProcessingResultBuilder() //
.withCommandId(command.commandId()) //