Keep PID up-to-date.