update locale