edit the bar