Update monitor script