change metadata struct