Update code to work with new Twitter API