NEW YORK (TheStreet) -- RATINGS CHANGES

Allstate (ALL - Get Report) was upgraded to buy from hold by Deutsche Bank, which set a $70 price target, saying the stock is attractive, following a 10% pullback.

Dillard's (DDS - Get Report) was downgraded to underweight by JP Morgan, which set an $89 price target, saying the company is facing increased competition.

EMC (EMC) was upgraded to buy by TheStreet Ratings. You can view the full analysis from the report here: EMC Ratings Report.

Gap (GPS - Get Report) was downgraded to underperform by JP Morgan, which set a $29 price target, saying the company is facing multiple sales headwinds.

Genesis Healthcare (GEN - Get Report) was upgraded to outperform by RBC Capital, which set a $10 price target, saying the company has strong operational momentum and visibility.

Magellan Midstream Partners (MMP - Get Report) was upgraded to outperform from neutral by Credit Suisse, which set an $89 price target. Credit Suisse said the upgrade is a valuation call based on slightly more conservative distribution growth assumptions as Magellan's opportunity set shifts to marine infrastructure.

Nielsen (NLSN - Get Report) was upgraded to outperform from market perform by BMO Capital, which set a $53 price target, saying it expects revenue growth to accelerate.

Oneok Partners (OKS) was upgraded to outperform from neutral by Credit Suisse, which set a $45 price target, saying that even with a more conservative forecast, Oneok's units too cheap.

Sunoco Logistics Partners (SXL) was upgraded to outperform from neutral by Credit Suisse, which set a $48 price target, saying that the company's growth outlook is as strong as ever despite the weak price environment.

Transocean (RIG - Get Report) was upgraded to hold from underweight by Jefferies, which set a $13 price target, saying that the market is still tough but that it has a greater comfort with Transocean's position.

Viacom (VIAB - Get Report) was upgraded to buy by TheStreet Ratings. You can view the full analysis from the report here: VIAB Ratings Report.

Westlake (WLK - Get Report) was downgraded to sell from neutral by Goldman Sachs, which set a $60 price target, citing valuation, as it said analysts' estimates appear to be too high.