updated pi protocol header