update m_r