Update sample once and send all data a time