update the data type