Fix update gt history bug