defile vs upgrade

defile

verb
  • To make (someone or something) physically dirty or unclean; to befoul, to soil. 

  • Synonym of defilade (“to fortify (something) as a protection from enfilading fire”) 

  • To act inappropriately towards or vandalize (something sacred or special); to desecrate, to profane. 

  • To make (someone or something) morally impure or unclean; to corrupt, to tarnish. 

  • To cause (something or someone) to become ritually unclean. 

noun
  • A narrow passage or way (originally (military), one which soldiers could only march through in a single file or line), especially a narrow gorge or pass between mountains. 

  • A single file of soldiers; (by extension) any single file. 

  • An act of marching in files or lines. 

  • An act of defilading a fortress or other place, or of raising the exterior works in order to protect the interior. 

upgrade

verb
  • To improve the equipment or furnishings of or services rendered to 

  • To improve, usually applied to technology, generally by complete replacement of one or more components 

  • To replace with something better. 

  • To replace a program with a later version of itself, a version having a higher version number or marketed under a more recent product name. 

  • To improve in condition or status. 

noun
  • An upward grade or slope. 

  • An improvement 

  • An improved component or replacement item, usually applied to technology 

adv
  • Up a slope or grade. 

How often have the words defile and upgrade occurred in a corpus of books? (source: Google Ngram Viewer )