Specify the pid when creating a new record