[data] updates data with new structure