Updated threadContext