upgrade grinder.dart