def METHOD_NAME(self, cached_instance):
    self._prefetched_objects_cache = {}
    non_loaded_fields = cached_instance.get_deferred_fields()
    for field in self._meta.concrete_fields:
        if field.attname in non_loaded_fields:
            # This field wasn't refreshed - skip ahead.
            continue
        setattr(self, field.attname, getattr(cached_instance, field.attname))
        # Clear cached foreign keys.
        if field.is_relation and field.is_cached(self):
            field.delete_cached_value(self)
    # Clear cached relations.
    for field in self._meta.related_objects:
        if field.is_cached(self):
            field.delete_cached_value(self)
    self.clear_caches()
    self.__refresh_time = time.time()