index text change