update primes example