make handleTotalUpdate protected