update thread key format