fixed indexing in m_sbt in updateReferenceModel function