edit text on index