use cursor instead of array to update tweets