Fix logic in update script
Merge branch 'master' of https://github.com/dart-gde/discovery_api_dart_client_generator