Why is my form not updating?