update mm by class not it