derogate vs upgrade

derogate

verb
  • To take away (something from something else) in a way which leaves it lessened. 

  • To remove a part, to detract from (a quality of excellence, authority etc.). 

  • To act in a manner below oneself; to debase oneself. 

  • To detract from (something); to disparage, belittle. 

upgrade

verb
  • To replace with something better. 

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

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

  • 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. 

adv
  • Up a slope or grade. 

noun
  • An upward grade or slope. 

  • An improvement 

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

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