update the default settings to connect to the API