Fix update_data_representation