edit metadata, change condition in attributes