Fixed updatesettings with empty inputs.