worked on liveTotalUpdate