Update version of libs for the test
Modify statistics-related codes