sm change to index