fix statistics summary so it updates properly