def __update_parents(self, fileobj, path, delta):
for atom in path:<EOL><INDENT>fileobj.seek(atom.offset)<EOL>size = cdata.uint_be(fileobj.read(<NUM_LIT:4>))<EOL>if size == <NUM_LIT:1>:  <EOL><INDENT>size = cdata.ulonglong_be(fileobj.read(<NUM_LIT:12>)[<NUM_LIT:4>:])<EOL>fileobj.seek(atom.offset + <NUM_LIT:8>)<EOL>fileobj.write(cdata.to_ulonglong_be(size + delta))<EOL><DEDENT>else:  <EOL><INDENT>fileobj.seek(atom.offset)<EOL>fileobj.write(cdata.to_uint_be(size + delta))<EOL><DEDENT><DEDENT>
Update all parent atoms with the new size.