update data handling