programmatically update heat map