update the metadata informtion