<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_cache(self, data=None):
 """call with new data or set data to self.cache_data and call this """

        if data:
            self.cache_data = data
        self.cache_updated = timezone.now()
        self.save()