Update style of input box