def update_db_post_field_composed(db_post_field, content, post_field_parent = nil)
      # update the main field
      db_post_field.update(
        meta_datas: {
          label: content[:label] && !content[:label].blank? ? content[:label] : db_post_field.key,
          class: content[:class] && !content[:class].blank? ? content[:class] : nil
        }
      )
      # create or update child fields
      return unless content[:fields]
      content[:fields].each do |child_key, child_content|
        # search child field on db
        child_db_post_field = LatoBlog::PostField.find_by(
          key: child_key,
          lato_blog_post_id: db_post_field.post.id,
          lato_blog_post_field_id: db_post_field.id
        )
        # update or create child field on db
        if child_db_post_field
          blog__update_db_post_field(child_db_post_field, child_content, db_post_field)
        else
          blog__create_db_post_field(db_post_field.post, child_key, child_content, db_post_field)
        end
      end
    end
def update_db_post_field_composed(db_post_field, content, post_field_parent = nil)
      # update the main field
      db_post_field.update(
        meta_datas: {
          label: content[:label] && !content[:label].blank? ? content[:label] : db_post_field.key,
          class: content[:class] && !content[:class].blank? ? content[:class] : nil
        }
      )
      # create or update child fields
      return unless content[:fields]
      content[:fields].each do |child_key, child_content|
        # search child field on db
        child_db_post_field = LatoBlog::PostField.find_by(
          key: child_key,
          lato_blog_post_id: db_post_field.post.id,
          lato_blog_post_field_id: db_post_field.id
        )
        # update or create child field on db
        if child_db_post_field
          blog__update_db_post_field(child_db_post_field, child_content, db_post_field)
        else
          blog__create_db_post_field(db_post_field.post, child_key, child_content, db_post_field)
        end
      end
    end
Composed.