def blog__update_db_post_field(db_post_field, content, post_field_parent = nil)
      # run minimum updates
      db_post_field.update(
        position: content[:position],
        meta_visible: true
      )
      # run custom update for type
      case db_post_field.typology
      when 'text'
        update_db_post_field_text(db_post_field, content, post_field_parent)
      when 'textarea'
        update_db_post_field_textarea(db_post_field, content, post_field_parent)
      when 'datetime'
        update_db_post_field_datetime(db_post_field, content, post_field_parent)
      when 'editor'
        update_db_post_field_editor(db_post_field, content, post_field_parent)
      when 'geolocalization'
        update_db_post_field_geolocalization(db_post_field, content, post_field_parent)
      when 'image'
        update_db_post_field_image(db_post_field, content, post_field_parent)
      when 'gallery'
        update_db_post_field_gallery(db_post_field, content, post_field_parent)
      when 'youtube'
        update_db_post_field_youtube(db_post_field, content, post_field_parent)
      when 'composed'
        update_db_post_field_composed(db_post_field, content, post_field_parent)
      when 'relay'
        update_db_post_field_relay(db_post_field, content, post_field_parent)
      end
    end
def blog__update_db_post_field(db_post_field, content, post_field_parent = nil)
      # run minimum updates
      db_post_field.update(
        position: content[:position],
        meta_visible: true
      )
      # run custom update for type
      case db_post_field.typology
      when 'text'
        update_db_post_field_text(db_post_field, content, post_field_parent)
      when 'textarea'
        update_db_post_field_textarea(db_post_field, content, post_field_parent)
      when 'datetime'
        update_db_post_field_datetime(db_post_field, content, post_field_parent)
      when 'editor'
        update_db_post_field_editor(db_post_field, content, post_field_parent)
      when 'geolocalization'
        update_db_post_field_geolocalization(db_post_field, content, post_field_parent)
      when 'image'
        update_db_post_field_image(db_post_field, content, post_field_parent)
      when 'gallery'
        update_db_post_field_gallery(db_post_field, content, post_field_parent)
      when 'youtube'
        update_db_post_field_youtube(db_post_field, content, post_field_parent)
      when 'composed'
        update_db_post_field_composed(db_post_field, content, post_field_parent)
      when 'relay'
        update_db_post_field_relay(db_post_field, content, post_field_parent)
      end
    end
This function update an existing post field on database with new content.