update cartype