code: public void updateTenantDef(TenantDefinition tenantDef) {
          synchronized (m_tenantDBMap) {
              DBService dbservice = m_tenantDBMap.get(tenantDef.getName());
              if (dbservice != null) {
                  Tenant updatedTenant = new Tenant(tenantDef);
                  m_logger.info("Updating DBService for tenant: {}", updatedTenant.getName());
                  dbservice.updateTenant(updatedTenant);
              }
          }
      }
docs: Update the corresponding DBService with the given tenant definition. This method is
  called when an existing tenant is modified. If the DBService for the tenant has not
  yet been cached, this method is a no-op. Otherwise, the cached DBService is updated
  with the new tenant definition.
  
  @param tenantDef Updated {@link TenantDefinition}.