update data based