Get the correct data type for last update version