redo, and adding sub-elements to edit