update config with crypto opts