Update appwarp.cpp