old_contents: """Custom querysets for organization app"""
  
  # Django
  from django.db import models, transaction
  
  # Standard Library
  from datetime import datetime
  
  
  class OrganizationQuerySet(models.QuerySet):
      """Object manager for profiles"""
  
      @transaction.atomic
      def squarelet_update_or_create(self, uuid, data):
          """Update or create records based on data from squarelet"""
          required_fields = {'name', 'slug', 'date_update'}
          missing = required_fields - (required_fields & set(data.keys()))
          if missing:
              raise ValueError('Missing required fields: {}'.format(missing))
          # convert date_update from string to date
          # XXX error handle
          if data['date_update'] is not None:
              data['date_update'] = datetime.strptime(
                  data['date_update'], '%Y-%m-%d'
              ).date()
  
          organization, created = self.model.objects.get_or_create(uuid=uuid)
          organization.update_data(data)
  
          return organization, created
  
new_contents: """Custom querysets for organization app"""
  
  # Django
  from django.db import models, transaction
  
  # Standard Library
  from datetime import datetime
  
  
  class OrganizationQuerySet(models.QuerySet):
      """Object manager for profiles"""
  
      @transaction.atomic
      def squarelet_update_or_create(self, uuid, data):
          """Update or create records based on data from squarelet"""
          required_fields = {'name', 'slug', 'update_on'}
          missing = required_fields - (required_fields & set(data.keys()))
          if missing:
              raise ValueError('Missing required fields: {}'.format(missing))
          # convert date_update from string to date
          # XXX error handle
          if data['update_on'] is not None:
              data['date_update'] = datetime.strptime(
                  data['update_on'], '%Y-%m-%d'
              ).date()
  
          organization, created = self.model.objects.get_or_create(uuid=uuid)
          organization.update_data(data)
  
          return organization, created
  
subject: rename date_update in squarelet api