update pdegrees