Updating error counts with latest values