Updates pubspec.yaml.