update month statistics.