re-render input on change event as well as keyup