Flatten people tree before updating the chart