Update mp-class.php