Fixed errors in update functions to new PIDs