update local setting