update kill process function