try {
this.context.authenticatedUser();
this.fromApiJsonDataValidator.validateForRecurringDepositUpdate(command.json());
final RecurringDepositProduct product = this.recurringDepositProductRepository.findOne(productId);
if (product == null) { throw new RecurringDepositProductNotFoundException(productId); }
product.setHelpers(this.chartAssembler);
final Map<String, Object> changes = product.update(command);
if (changes.containsKey(chargesParamName)) {