updates button widths