How can I update/remove html outise of the form