update config (will be renamed soon)