Update pcon.cpp