update pid creation