code: function(strOld, strNew) {
      if (strOld.length == 0 || strNew.length == 0) {
        return;
      }
      this.remove(strOld);
      this.insert(strNew);
    }
docs: /*
  Update an existing word in the dictionary.
  This method removes the old word from the dictionary and inserts the new word.
  
  @method update
  @param {String} strOld The old word to be replaced
  @param {String} strNew The new word to be inserted
  @return {Void}