Why my form does not reflect changes made to it?