updating locale