update dashboard api chart