Update RKP.cpp