updaing i10n, changing a deprecated function