Form not updating after changes