update process_monitor.sh