Update to T protocol codebase