Update icons and undo method