add pid to registration