update total