Updating statistics and histfactory sections