add index attributes