update the table scan accodringly since the unwrapData function changed