add text to index action