update locale codes