add editable flag, diff only if editable