Default [Q] How can i unroot my Sony Xperia SL?

So i bought a sony xperia SL on ebay in used condition and i tried to update my phone but an error message appeared saying the device had been modified and cannot i figured the phone was now i want to unroot...can someone please help??