Updated database and count.