Updating Index for SM