update width of button