Embedded form not reflecting the changes on the webpage