Update inspector_events.cpp