Updating pid usage
Using new platform functions naming convention