Added change metadata functionality