def update_field_type(field_types, item):
    """ Update AxFieldType from yaml data if needed """
    for ax_field in field_types:
        if ax_field.tag == item['tag']:
            if 'name' in item and ax_field.name != item['name']:
                ax_field.name = item['name']
            if 'position' in item and ax_field.position != item['position']:
                ax_field.position = item['position'],
            if 'default_name' in item and ax_field.default_name != item[
                'default_name']:
                ax_field.name = item['default_name']
            if 'default_db_name' in item and ax_field.default_db_name != item[
                'default_db_name']:
                ax_field.default_db_name = item['default_db_name']
            if 'value_type' in item and ax_field.value_type != item[
                'value_type']:
                ax_field.value_type = item['value_type']
            if 'parent' in item and ax_field.parent != item['parent']:
                ax_field.parent = item['parent']
            if 'icon' in item and ax_field.icon != item['icon']:
                ax_field.icon = item['icon']
            if 'comparator' in item and ax_field.comparator != item[
                'comparator']:
                ax_field.comparator = item['comparator']
            if 'virtual_source' in item and ax_field.virtual_source != item[
                'virtual_source']:
                ax_field.virtual_source = item['virtual_source']
            if 'is_virtual' in item and ax_field.is_virtual != item[
                'is_virtual']:
                ax_field.is_virtual = item['is_virtual']
            if 'is_readonly' in item and ax_field.is_readonly != item[
                'is_readonly']:
                ax_field.is_readonly = item['is_readonly']
            if ('is_inline_editable' in item and ax_field.
                is_inline_editable != item['is_inline_editable']):
                ax_field.is_inline_editable = item['is_inline_editable']
            if ('is_backend_available' in item and ax_field.
                is_backend_available != item['is_backend_available']):
                ax_field.is_backend_available = item['is_backend_available']
            if ('is_display_backend_avalible' in item and ax_field.
                is_display_backend_avalible != item[
                'is_display_backend_avalible']):
                the_item = item['is_display_backend_avalible']
                ax_field.is_display_backend_avalible = the_item
            if ('is_columnn_avalible' in item and ax_field.
                is_columnn_avalible != item['is_columnn_avalible']):
                ax_field.is_columnn_avalible = item['is_columnn_avalible']
            if ('is_updated_always' in item and ax_field.is_updated_always !=
                item['is_updated_always']):
                ax_field.is_updated_always = item['is_updated_always']
            if 'is_group' in item and ax_field.is_group != item['is_group']:
                ax_field.is_group = item['is_group']
            if ('is_always_whole_row' in item and ax_field.
                is_always_whole_row != item['is_always_whole_row']):
                ax_field.is_always_whole_row = item['is_always_whole_row']
