update of the api to twitter.