Updating metadata file