Why is the form not updating with cahnges