update kill logic