You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: admin_config_store_commands.go
    path of file: ./repos/cadence/tools/cli
    
    the code of the file until where you have to start completion: // Copyright (c) 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
    
func AdminUpdateDynamicConfig(c *cli.Context) {
	adminClient := cFactory.ServerAdminClient(c)

	dcName := getRequiredOption(c, FlagDynamicConfigName)
	dcValues := c.StringSlice(FlagDynamicConfigValue)

	ctx, cancel := newContext(c)
	defer cancel()

	var parsedValues []*types.DynamicConfigValue

	if dcValues != nil {
		parsedValues = make([]*types.DynamicConfigValue, 0, len(dcValues))

		for _, valueString := range dcValues {
			var parsedInputValue *cliValue
			err := json.Unmarshal([]byte(valueString), &parsedInputValue)
			if err != nil {
				ErrorAndExit("Unable to unmarshal value to inputValue", err)
			}
			parsedValue, err := convertFromInputValue(parsedInputValue)
			if err != nil {
				ErrorAndExit("Unable to convert from inputValue to DynamicConfigValue", err)
			}
			parsedValues = append(parsedValues, parsedValue)
		}
	} else {
		parsedValues = nil
	}

	req := &types.UpdateDynamicConfigRequest{
		ConfigName:   dcName,
		ConfigValues: parsedValues,
	}

	err := adminClient.UpdateDynamicConfig(ctx, req)
	if err != nil {
		ErrorAndExit("Failed to update dynamic config value", err)
	}
	fmt.Printf("Dynamic Config %q updated with %s \n", dcName, dcValues)
}