add process monitor function
update process status