(Reuters) - Chipotle Mexican Grill Inc CMG.N topped analysts' estimates for same-restaurant sales on Thursday, boosted by higher prices and demand for its queso cheese dip as its new CEO focuses on turning around the once-hot burrito chain.

The logo of Chipotle Mexican Grill is seen at the Chipotle Next Kitchen in Manhattan, New York, U.S., June 28, 2018. REUTERS/Shannon Stapleton

Chipotle shares, which have soared over 56 percent this year, mainly buoyed by optimism around its new CEO, rose 6.3 percent in extended trading.

The company has pulled off a successful hike in prices at a time when fast-food chains are relying on low-price value menus to boost sales and market share.

The move shows that the premium burrito chain, despite past food safety scares, is largely escaping the intense competition in the value space that took a toll on McDonald's MCD.N quarterly U.S. same-store sales earlier on Thursday.

Chipotle made a rare addition to its menu last year with queso cheese, but was met with bland reviews with some Twitter users calling it a “crime against cheese”, forcing the company to tweak the recipe.

A 4 percent rise in prices helped sales at Chipotle restaurants, open for at least 13 months, increase 3.3 percent in the second quarter, beating analysts’ estimates of a 2.7 percent rise, according to Thomson Reuters I/B/E/S.

Niccol — in the five months at the helm — has made top management changes, spent more on marketing and focused on its online business.

“We also saw in the quarter people really responded positively to the advertising that we put out there,” Niccol said.

Net income fell to $46.9 million, or $1.68 per share, in the quarter ended June 30, from $66.73 million, or $2.32 per share, a year earlier.

Revenue rose 8.3 percent to $1.27 billion, hurt by a charge related to the closure of some underperforming restaurants. Excluding items, the company earned $2.87 cents per share.

Analysts on average had expected the company to earn $2.80 per share on revenue of $1.26 billion.