making quick edit idempotent