updating localsettings