def Update(self, data):
for hypo in self.Values():<EOL><INDENT>like = self.Likelihood(data, hypo)<EOL>self.Mult(hypo, like)<EOL><DEDENT>self.Normalize()<EOL>
Updates the PMF with new data.
        data: string cookie type