API key from config, Choosing metric by config name or id, Updating metric