adding check in layers to refresh heatmap data