Update deep.cpp