update trace query and java long int.