At close, the Sensex was up 91.84 points or 0.19% at 49,584.16, and the Nifty was up 30.70 points or 0.21% at 14,595.60 as Tata Consultancy Services (TCS) and Reliance Industries helped the benchmark indices erase early losses.IndusInd Bank, TCS, and L&T were the top gainers on Sensex at closing. Axis Bank and HCL Technologies were the top drags. About 1467 shares have advanced, 1489 shares declined, and 166 shares are unchanged. The metal index lost 1 per cent, Nifty Pharma and Nifty FMCG indexes, up 0.8 per cent and 0.7 per cent, respectively.The S&P BSE MidCap and SmallCap indices ended 0.29 per cent and 0.17 per cent higher, respectively.