Update metadata with version