update data sampling