<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_mapping(self):
 u""" Called every time we care about the mapping of names to features. """

        self.mapping = dict([(f.name, f) for f in iter(self)])