uniqueness database constraint update