update the input field width