Why is the text in my form not updating?