Sensex up 500 points; metal, finance stocks rise