Update monitoring script