Update db module to expose images.updateIndex
Update createVariations to become a factory of concat-frames