Set and get the metadata