Every time I update the text of the input, it doesn\'t update. When i update the text a second time, the state updates to the text of the first update. I\'m not sure what exactl