initial implementation of metadata file update