Fix logic in update script
Fix logic in update script

close2/discoveryapis_generator,financeCoding/discovery_api_dart_client_generator,financeCoding/discovery_api_dart_client_generator,close2/discoveryapis_generator