modify server for sentiment analysis