Update analyzer.cpp