update for some statistics