Update listeners/HistoryControllerListener.php