Add index to table