update bar graph max value on overflow
merged