Why does my form not keep the changes that I am making?