def METHOD_NAME(obj, user=None):
    # Check if this is a recipe or project
    project = Project.objects.filter(uid=obj.uid).first()
    if not project:
        project = auth.create_project(user=user, uid=obj.uid,
                                      name=obj.name,
                                      text=obj.text)
    project.uid = obj.uid
    project.name = obj.name
    project.text = obj.text
    project.date = obj.date
    project.privacy = obj.privacy
    update_image(project, obj.image)
    project.save()
    for recipe, vals in obj.recipes.items():
        data = parse_json(vals)
        email = data.owner_email or settings.DEFAULT_FROM_EMAIL
        owner = get_or_create(email, data=data)
        upload_recipe(data, project=project, user=owner)
    return