def _update_assessment_parts_map(self, part_list):
for part in part_list:<EOL><INDENT>level = part._level_in_section  <EOL>if str(part.get_id()) not in self._part_ids():<EOL><INDENT>self._insert_part_map(get_default_part_map(<EOL>part.get_id(), level, part.are_items_sequential()),<EOL>index=part_list.index(part))<EOL><DEDENT><DEDENT>
Updates the part map.

        Called before question list gets updated if it is determined that the
        sections assessmentPart map is out of date with the current part list.