added download resource and metadata resource for v2