code: def Update(self, data):
          
          for hypo in self.Values():
              like = self.Likelihood(data, hypo)
              self.Mult(hypo, like)
          self.Normalize()
docs: Updates the PMF with new data.
          data: string cookie type