Form not updating with changes