add function to create a profile with a metadatum