Add attribute in related core data

category attr
index attr