updates monit script