Remove root via update
You simply flash a factory image. That overwrites the /system partition completely, effectively removing root.

For where to obtain those images, please take a look at Where can I find stock or custom ROMs for my Android device?