Revert "aggiornato metodo updateStatistics"

This reverts commit a883cfd1d1f57db783cfc27ef650d430d9b3995d.