Adapt auto update in the context for every chart-elements 

I've renamed updateGraph to updateChart to make it more clear