Add some more fields in cache to improve even more update_compare_tree