Update recovery.cpp