updates info box with average for state