@Override
  public void migrateInstanceData() {
    for (Map.Entry<String, Map<String, String>> userData : migrationContext.getOriginInstanceDataByUser().entrySet()) {
      for (Map.Entry<String, String> entry : userData.getValue().entrySet()) {
        String newValue = String.format("<no surname>;%s", entry.getValue());
        migrationContext.putCurrentInstanceData(userData.getKey(), entry.getKey(), newValue);
      }
    }
  }
Migrate instance data by adding surname.
ambari-views/examples/phone-list-upgrade-view/src/main/java/org/apache/ambari/view/phonelist/DataMigrator.java