changeing index