Add <snapshot> and <lastUpdated> into metadata