upgrade to M5