def METHOD_NAME(self, new_instance):
    instances_data = self.host.list_instances()
    instances_data.append(new_instance.data_to_store())
    self.host.write_instances(instances_data)
    self._add_instance_to_context(new_instance)