updating editable type