Update simplemonitor.cc