updated index in lmfit