update pubspec and generated pubspec