change attributeConstraint for ean.