Why is my form not updating automatically when I edit it?