update locale field