Modify _last_update_count to fix update_frequency option

_last_update_count was never updated, so update_frequency option worked only once.
Merge pull request #21 from coagulant/patch-1

Modify _last_update_count to fix update_frequency option