update_count belongs to sync_state in SyncThread
Merge pull request #422 from utkarshsins/fix-auth-01

update_count belongs to sync_state in SyncThread