update locale in sample