update_count belongs to sync_state in SyncThread