def METHOD_NAME(self, details, persist=False):
    """
    Method to update the details of a task history.
    TODO: should we put a timestamp in details? should we append the details?
    """
    if self.details:
        self.details = "\n%s%s" % (self.details, details)
    else:
        self.details = details
    if persist:
        self.save()