upgrade metadatas