Update totalUsage at the same time as chart