updated undo button