Fixed issue with updating datatypes.