working on PUT requests for heatmap