update localization code