more granular control over updating bar chart