upgade DE.cpp