update data-type