Only do analytics if there are tweets

Update states