Updated routes and the heatmap coloring function