update core-th/main