log updates count automatically