update 4: update statistics