updating json, adding line per cluster