changed pubspec file for M4