update the config of client api