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 update...so i figured the phone was rooted....so now i want to unroot...can someone please help??