undo & add command