fixed bug where total_bar values were not getting updated by year