Update data structure