add setter for metadataHashMap