add undo settings