more explicit handling of update_element

* update lists or dicts that only contain derived
instances of ElementGetter