edit card index