(Update: Revises stocks throughout to reflect closing prices.)

Bernie Madoff's sentence of 150 years in prison appeared to send a wave of relief throughout the investment community -- and the retail world was no exception.

The S&P Retail Index was up 1% in afternoon trading, led up by one big winner:

Rite Aid

(RAD) - Get Report

.

The drugstore soared 17% to close at $1.45 after it announced that it had completed refinancing most of the debt that was set to come due in September 2010. Rite Aid had a $145 million loan and $1.75 billion credit facility maturing in September 2010. Due to the refinancing, it said its only significant debts due before 2012 are its borrowings under its accounts receivable securitization programs. Those borrowings are due in September.

Other winners included

J.C. Penney

(JCP) - Get Report

and

Chico's FAS

(CHS) - Get Report

, both of which were upgraded by analysts earlier in the day.

Morgan Stanley analyst Michelle Clark upgraded J.C. Penney to overweight from equal-weight, citing an appealing stock price and its potential to top gross-margin expectations.

Clark said that while the department store sector is limited, J.C. Penney is one of the best ways to tap into the group. She lifted her target price to $33 from $28.

Shares of the department store jumped almost 2% to close at $28.89.

Chico's gained more than 4% to close at $9.51, after a Sterne Agee analyst said a turnaround is underway at the women's apparel retailer.

Analyst Margaret Whitfield affirmed her buy rating and raised her fourth-quarter earnings estimate to break-even per share, from a loss of 7 cents per share.

Chico's has implemented a turnaround plan, including cutting expenses, eliminating 180 positions and closing up to 25 stores.

The company's system enhancements should help improve inventory levels and productivity levels beginning in the second half of the year, while same-store sales are also growing, the company is working to save money on store rent and merchandise and marketing are improving, Whitfield said.

Roth Capital Partner's analyst Elizabeth Pierce added that merchandise is improving, especially at the Chico's stores.

OfficeMax

(OMX)

was one of the few losers of the day. The office supply retailer announced on Monday that it has signed a multiyear deal that will allow it to use some of FedEx's services in its U.S. retail locations. Terms of the deal were not disclosed.

Shares of the company dipped by more than 3% to close at $6.32 in afternoon trading.

Copyright 2009 TheStreet.com Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed. AP contributed to this report.