rewrite fields-editing