Update text_twist.py