<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def source(self, newsource):
 """When modifying source, also update children with matching source."""

        oldsource = self.source
        for feature in self:
            if feature.source == oldsource:
                feature._source = newsource