automatic update of metadata for latest data