Form not updating correctlly.