update internal and external tokens after pointer unrolling