prime factor update