update heatmap to have dynamic weighting for records