refactored code: updating tweets now works