Fix update total