Updating dnd interaction; Implemented undo/redo.