edit selection in index action