update locale setting