Update pnj.cpp