updated PDP to support dynamic ids