Update the heatmap component directly when adding/deleting tasks.
Update the heatmap component directly when adding/deleting tasks.