def update_cache(self, data=None):
        if data:
            self.cache_data = data
        self.cache_updated = timezone.now()
        self.save()
call with new data or set data to self.cache_data and call this
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/module/web/widgets/mixins.py/ContentProxyWidgetMixin.update_cache