update metadata for new data structure