Modify data-type of records