Fixed a type in updateR