Update ispresent.cpp