update pcs primitives and tests