pid info refactoring
update templates