add updateSettings endpoint