update setting local