At close, Sensex was up 807 points, or 2.6 per cent, at 31379.55 levels and the Nifty50 was hovering around the 9,200 marks. RIL jumps 10% on Facebook deal. ONGC was the top loser in the Sensex pack. On the other hand, Asian Paints and Hero MotoCorp both gained 3 per cent each. All sectoral indices ended in the green with the energy and the auto index jumping 2-3 per cent The S&P BSE MidCap was down 0.2 per cent while the SmallCap index was up marginally.