Update cellResc.cpp