replays perform actions for undo