update editable directive