updated CLI to support updating the settings file