delete.cpp command update