Update database settings.