update pgd