add pid to post