update regression and tfidf