update heamap and imshow