Made enemy only update when alive