update index to include spec