Update tweet.py

updated methods