Update alert.cpp