Adding measures and update the chart