updated the bar char scope variables