Finished the metadata setter method